package cn.tedu.zhyl.appointment.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class ReservationVO {
    @ApiModelProperty(value = "预约ID")
    private Long id;
    @ApiModelProperty(value = "预约人姓名")
    private String name;
    @ApiModelProperty(value = "预约人手机号")
    private String mobile;
    @ApiModelProperty(value = "探访人")
    private String visitor;
    @ApiModelProperty(value = "预约时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date time;
    @ApiModelProperty(value = "预约类型")
    private Integer type;
    @ApiModelProperty(value = "预约状态")
    private Integer status;
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;
    @ApiModelProperty(value = "创建人id")
    private Long createBy;
    @ApiModelProperty(value = "更新人id")
    private Long updateBy;
    @ApiModelProperty(value = "创建人姓名")
    private String createByName;
    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;
    @ApiModelProperty(value = "更新人姓名")
    private String updateByName;
    @ApiModelProperty(value = "备注")
    private String remark;
}
